----------------------------------------------------------
--	[Weapon skill]: Cloudsplitter
--	[Author      ]: Dandruffshampoo
--	[Description ]: Deals lightning elemental damage. Damage varies with TP.
----------------------------------------------------------
-- from wiki.bluegartr.com/bg/Cloudsplitter
-- Element: Lightning
-- Skillchain: Darkness / Fragmentation
-- Stat Mod: 40% STR / 40% MND
-- TP	100		200		300
--		3.75	5.0		6.0
--------------------------------------------------------

require("scripts/globals/status");
require("scripts/globals/settings");
require("scripts/globals/weaponskills");

function OnUseWeaponSkill(player, target, wsID)

numHits = 1;

ftp100 = 3.75; ftp200 = 5.0; ftp300 = 6.0;

str_wsc = 0.4; dex_wsc = 0.0; vit_wsc = 0.0; agi_wsc = 0.0; int_wsc = 0.0; mnd_wsc = 0.4; chr_wsc = 0.0;

canCrit = false;
crit100 = 0.0; crit200 = 0.0; crit300 = 0.0;

acc100 = 0.0; acc200= 0.0; acc300= 0.0;

atkmulti = 1;

damage = doPhysicalWeaponskill(player,target,numHits,str_wsc,dex_wsc,vit_wsc,agi_wsc,int_wsc,mnd_wsc,chr_wsc,canCrit,crit100,crit200,crit300,acc100,acc200,acc300,atkmulti);
return damage;

end